#                                               -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.50])
AC_INIT([drbeat], [1.0], [soxslayer at gmail dot com])
AC_CONFIG_SRCDIR([src/drbeat.cpp])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])

# Checks for programs.
AC_PROG_CXX
AC_PROG_CC

# Checks for libraries.
PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4 >= 2.12.7])
PKG_CHECK_MODULES([SIGCPP], [sigc++-2.0 >= 2.2.3])
PKG_CHECK_MODULES([SDL], [sdl >= 1.2.13])
PKG_CHECK_MODULES([GDKMM], [gdkmm-2.4 >= 0.23])

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL

# Checks for library functions.

AC_CONFIG_FILES([Makefile
                 src/Makefile
                 m4/Makefile
                 media/Makefile])

AC_DEFINE_DIR([MEDIADIR], [datadir/drbeat], [Media directory])

AC_OUTPUT
